﻿using AutoMapper;
using Enferno.Public.Web.Components.Server.ViewModels;
using Enferno.Public.Web.Models;

namespace Enferno.Public.Web.Components.Server.Mappers
{
    public class CompanyModelToCompanyViewModelProfile : Profile
    {
        protected override void Configure()
        {
            Mapper.CreateMap<CompanyModel, CompanyViewModel>();
            Mapper.CreateMap<CompanyViewModel, CompanyModel>();

            Mapper.CreateMap<CompanyInformationModel, CompanyInformationViewModel>();
            Mapper.CreateMap<CompanyInformationViewModel, CompanyInformationModel>();
        }
    }
}
